package com.woniuxy.productServer.exception.cinema;

public enum CinemaExceptionCode {
    CINEMA_NOT_EXIST(70001,"该放映厅不存在"),
    CINEMA_HAD_EXIST(70001,"该放映厅已存在"),
    CINEMA_STATE_ERROR(70002,"放映厅状态异常"),
            ;
    private Integer code;
    private String message;

    CinemaExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
